package com.koudai.finance.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 验证码
 * @author: ls
 * @Date: 2020-07-14 16:00:57
 */
@Mapper
public interface VerifyCodeDao {

    int save(@Param("phone") String phone, @Param("ip") long ip, @Param("code") String code);

    int getTodaySmsCodeCount(@Param("ip") long longIp, @Param("time") String time);
}
